package com.irs.irsforum.mapper;

import com.irs.irsforum.entity.Subject;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yihuili
 * @since 2020-02-01
 */

@Mapper
public interface SubjectMapper extends BaseMapper<Subject> {

    String getSubjectNameById(Long subjectId);

    List<Subject> getSubjectList();
}
